import request from "../utils/request";

export const groupOnlineUserApi = (params) => request({
    url: "/admin_api/group_online_users/",
    method: "get",
    params
})

export const groupMuteApi = (data) => request({
    url: "/admin_api/group_mute/",
    method: "post",
    data
})

export const unGroupMuteApi = (data) => request({
    url: "/admin_api/group_mute/",
    method: "delete",
    data
})

export const courseDetailApi = (id) => request({
    url: `/api/course/course/${id}/`,
    method: "get"
})
